<?php

class ProductSearch extends CFormModel {

    public $name;
    public $category_id;
    public $code;

    /**
     * Declares the validation rules.
     */
    public function rules() {
        return array(
            // name, email, subject and body are required
            array('name, category_id,code', 'safe'),
        );
    }
    

}